package com.zxj.system.domain.sysuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxj.common.core.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 系统管理员用户表
 * </p>
 *
 * @author zxj2022
 * @since 2024-12-19
 */
@EqualsAndHashCode(callSuper = true)
@TableName("tb_sys_user")
@Data
public class SysUser extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户id（主键）
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    /**
     * 账号
     */
    private String userAccount;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 密码
     */
    private String password;
}
